﻿using AutoMapper;
using TodoList.Dtos;
using TodoList.EFCore.Entities;

namespace TodoList.MapperProfiles
{
    public class TodoMapperProfile: Profile
    {
        public TodoMapperProfile()
        {
            CreateMap<Todo, TodoDto>();
                //.ForMember(dest => dest.Text, opt => opt.MapFrom(src => src.Content));
        }
    }
}
